package com.lry.basic.design_mode.chain.demo1;

/**
 * @author:刘仁有
 * @desc:
 * @email:953506233@qq.com
 * @data:2019/11/11
 */
public class Main {

    static AbstractLogger logger = LoggerFactory.getLogger(Main.class);

    public static void main(String[] args) {

        logger.info("info");//默认info级别日志
        System.out.println("--------------------");

        logger.debug("debug");//debug级别日志，记录info，debug
        System.out.println("--------------------");

        logger.error("error");//error级别，记录error，info，debug
    }
}
